package com.example.xgakj.newterminal.beans;

import java.io.Serializable;

/**
 * @ClassName:DeviceBean
 * @Description:TODO设备管理
 * @author Administrator
 * @date 2015-7-8 下午4:56:48
 *
 */
public class DeviceBean implements Serializable{
	
	private static final long serialVersionUID = 217556567291791491L;
	private String dev_id;//设备ID
	private String dev_bz;//设备是否在线
	private String recv_date;//设备警情时间
	private String cust_id;//客户ID
	private String address;
	private String port;
	private String usr;
	private String pwd;
	private int ifaddr;
	private String srvport;
	
	public String getSrvport() {
		return srvport;
	}
	public void setSrvport(String srvport) {
		this.srvport = srvport;
	}
	public String getDev_id() {
		return dev_id;
	}
	public void setDev_id(String dev_id) {
		this.dev_id = dev_id;
	}
	public String getDev_bz() {
		return dev_bz;
	}
	public void setDev_bz(String dev_bz) {
		this.dev_bz = dev_bz;
	}
	public String getRecv_date() {
		return recv_date;
	}
	public void setRecv_date(String recv_date) {
		this.recv_date = recv_date;
	}
	public String getCust_id() {
		return cust_id;
	}
	public void setCust_id(String cust_id) {
		this.cust_id = cust_id;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getUsr() {
		return usr;
	}
	public void setUsr(String usr) {
		this.usr = usr;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public int getIfaddr() {
		return ifaddr;
	}
	public void setIfaddr(int ifaddr) {
		this.ifaddr = ifaddr;
	}
	@Override
	public String toString() {
		return "DeviceBean [dev_id=" + dev_id + ", dev_bz=" + dev_bz
				+ ", recv_date=" + recv_date + ", cust_id=" + cust_id
				+ ", address=" + address + ", port=" + port + ", usr=" + usr
				+ ", pwd=" + pwd + ", ifaddr=" + ifaddr + ", srvport="
				+ srvport + "]";
	}
	
	
}
